package com.ayh.campusfun.service;

import com.ayh.campusfun.common.PageResult;
import com.ayh.campusfun.common.service.BaseService;
import com.ayh.campusfun.entity.FunShare;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 趣事表(FunShare)表服务接口
 *
 * @author ayh
 * @since 2021-03-19 18:19:50
 */
public interface FunShareService extends BaseService<FunShare> {
    int shareClick(Map<String,Object> map);
    int forwardById(Long id);
    int commentById(Long id);

    PageResult<FunShare> getFunList(HttpServletRequest request, Integer limit, Integer page, Integer funClassifyId);

    int addPlayNum(Long id);

    PageResult<FunShare> searchFun(HttpServletRequest request, Integer limit, Integer page, String keyWord);

//    PageResult<FunShare> searchFunAll(Map<String, Object> map);
}
